import instance from "@/http";

// 部门列表查询
export const deptList = () => instance.get("/dept/list")


// 部门分页
export const deptPage = (formData) => instance.post('/dept/page', formData)

// 添加或修改的接口
export const addOrUpdateDept= (formData) => instance.post('/dept/addOrUpdate', formData)

// 删除部门信息
export const deleteDept= (id) => instance.delete('/dept/delete/'+id)
